package Month09.day0918.part_1;

public  class Fu {
    int age;
    String name;
    String gender;

    public Fu(int age, String name, String gender) {
        this.age = age;
        this.name = name;
        this.gender = gender;
        System.out.println("执行了父类构造方法");
    }

    {
        System.out.println("父类实例代码块执行");
    }
    static{
        System.out.println("父类静态代码块执行");
    }

    public  void print(){
        System.out.println("父类方法执行");
    }
}
